import { getDictDetailMaps } from '@/api/system';
import { dictNameQuery, PaginationQuery } from '@/types/table';

export default async function detailData(params: dictNameQuery): Promise<TableData> {
    const { content, totalElements } = await getDictDetailMaps(params);

    return {
        list: content,
    };
}
